import Vue from "vue";
import VueRouter from "vue-router";

const Home = ()=>import("@/pages/Home")
const Register = ()=>import("@/pages/Register")
const Login = ()=>import("@/pages/Login")
const Search = ()=>import("@/pages/Search")
const Test = ()=>import("@/pages/Test")

export default new VueRouter({
    mode: "history",
    routes: [
        {
            path: "/",
            component: Home
        },
        {
            path: "/register",
            component: Register
        },       
        {
            path: "/login",
            component: Login
        },
        {
            path: "/search",
            component: Search
        },
        {
            path: "/test",
            component: Test
        },
    ]
})